package club.caihappy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by 百岁 on 2021/10/2
 **/
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Dog {
    @Value("贝贝")
    private String name;
//    @Value("10")
    private Integer age;
}
